<div class="outer head"><a href="category.php">全部分类 </a> | <a href="category.php?op=create">创建分类</a></div>
<br/>
<form action="category.php?op=order" method="post">
<table class="outer" width="100%" cellspacing="1">
    <tr>
        <tr>
            <th width="10%">排序</th>
            <th>名称</th>
            <th width="8%">群数</th>
            <th width="8%">审核</th>
            <th width="10%">操作</th>
        </tr>
    </tr>
	<{foreachq item=item from=$cat_list}>
	<tr class="<{cycle values='odd, even'}>">
		<td><input type="text" name="cat_order[<{$item.cat_id}>]" value="<{$item.cat_order}>" size="8" /></td>
		<td><a href="groups.php?cat_id=<{$item.cat_id}>"><{$item.cat_name}></a> <em><{$item.cat_createdate}></em> </td>
		<td><{$item.cat_groups}></td>
		<td><{$item.creategroup_perm}></td>
		<td><a href="category.php?op=edit&amp;cat_id=<{$item.cat_id}>">编辑</a>
		<a href="category.php?op=delcat&amp;cat_id=<{$item.cat_id}>" rel="facebox">删除</a></td>
	</tr>
	<{/foreach}>
	<tr>
	   <td colspan="2">
	       <div>
                <input type="hidden" name="ac" value="modorder"/>
                <input type="submit" name="submit" value="<{$smarty.const._SUBMIT}>" />
            </div>
	   </td>
	</tr>
</table>

</form>